package gapp.subsys.impl;

import gapp.core.DomainClass;
import gapp.subsys.ISubsys;

public class Subsys implements ISubsys {
	
	// Factory method DP
	private Subsys(){
	}
	
	// Factory method DP
	public static ISubsys newInstance(){
		return new Subsys();
	}

	@Override
	public int doService(DomainClass d) {
		return d.getData()*d.getData();
	}

}
